package bestTeam.WalkieDoggie.client.ServicesInterfaces;

import java.util.Date;
import java.util.HashMap;

import bestTeam.WalkieDoggie.client.Serializables.UserProfileData;
import bestTeam.WalkieDoggie.client.Serializables.UserRequest;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface RequestServiceAsync {

	void addRequest(UserRequest request, AsyncCallback<String> callback);

	void removeRequest(String id, AsyncCallback<Void> callback);

	void getRequestsAndOwners(String uid,
			AsyncCallback<HashMap<UserRequest, UserProfileData>> callback);

	void UpdateRequest(UserRequest request, AsyncCallback<Void> callback);

	void getRequestsAndOwners(
			AsyncCallback<HashMap<UserRequest, UserProfileData>> callback);

	void getRequest(String requestID, AsyncCallback<UserRequest> callback);


}
